package com.game.element
{
	public class BigZombieElement extends ZombieElement
	{
		public function BigZombieElement()
		{
			super();
			
			this.graphics.clear();
			this.graphics.beginFill(Math.random()*0xFFFFFF,1);
			this.graphics.drawRect(-30,-30,60,60);
			this.graphics.endFill();
			
			hpBar.length = 60;
			hpBar.setValue(100,100);
			hpBar.x = -30;
			hpBar.y = -33;
			addChild(hpBar);
			
			reloadBar.length = 60;
			reloadBar.setValue(100,100);
			reloadBar.x = -30;
			reloadBar.y = -29;
			reloadBar.visible = false;
			addChild(reloadBar);
			
			hp = 2000;
			maxHp = 2000;
			
		}
		
		override public function get damage():Number{
			return Math.random()*100+100;
		}
	}
}